package demo2;

public class MyArray1<E> {
    public Object[] object=new Object[100];
    public void setValue(int pos,E val){
        object[pos]=val;
    }
    public E getValue(int pos){
        return (E) object[pos];
    }
}
